//
//  CateViewController.m
//  ObjcGoNew
//
//  Created by 邢伟新 on 2021/4/29.
//

#import "CateViewController.h"
#import "CaPerson.h"
#import "CaStudent.h"
//#import "CaStudent+Test.h"
//#import "CaStudent+en.h"
#import "CaStudent+rn.h"
#import "CaWoker.h"

@interface CateViewController ()

@end

@implementation CateViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"分类";
    self.view.backgroundColor = [UIColor whiteColor];
    
    [self test];
}

//给分类添加属性
-(void)test{
   
  //方式一
   CaStudent *ca = [[CaStudent alloc]init];
   ca.name = @"xingweixin";
   NSLog(@"----%@",ca.name);
    
   //方式2
    ca.age = @"18";
    NSLog(@"----%@",ca.age);
    
    

}



@end
